package com.ndp.fb.mongo.api;

import com.ndp.fb.mongo.model.AdGroupRetention;

import java.util.Date;
import java.util.List;

/**
 * Created by jacky.cheng on 2015/10/9.
 */
public interface AdGroupRetentionMongoService extends BaseMongoService {


    /**
     * 获取ad的给定时刻的所有留存数据
     * @param adGroupId
     * @param day
     * @return
     */
    AdGroupRetention findByAdGroupIdAndDay(Long adGroupId, Date day);
    List<AdGroupRetention> findByAdGroupIdsAndDay(List<Long> adGroupIds, Date day);
}
